package com.tudouji.framework.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * 读取项目相关配置
 * 
 * @author coal
 */
@Component
@ConfigurationProperties(prefix = "produce")
public class ProduceConfig {
	/** 允许最大损耗百分比 */
	private static String lossPoint;

	public static String getLossPoint() {
		return lossPoint;
	}

	public void setLossPoint(String lossPoint) {
		ProduceConfig.lossPoint = lossPoint;
	}
}